package cn.edu.hunau.oop.day04.inner;

import org.junit.Test;

/**
 * @author hb
 * @date 2025-08-07 15:17:47
 */
public class TestInner {
  @Test
    public void test01(){
        Foo foo=new Foo();
        Foo.Xoo xoo = foo.new Xoo();
        xoo.show();
    }

    @Test
    public void test02(){
        Soo.Yoo yoo = new Soo.Yoo();
        yoo.show();
    }
}

class Soo{
    public static class Yoo{
        public void show(){
            System.out.println("Yoo#show");
        }
    }
}

class Foo{
     public class Xoo{
        public void show(){
            System.out.println("Xoo#show");
        }
    }
}